1
2 // This class is generated by XDoclet SDK (XGG). Do not edit!
3 package xdoclet.sdk.xtag.migrator;
4
5 /***
6 * <p>XML element: <b><xdoclet/></b></p>.
7 * This element exists in the following versions:
8 * <ul>
9 * <li>xtags_1_1.dtd</li>
10 * </ul>
11 *
12 * @bean.class name="xdoclet"
13 *
14 * @author <a href="http://xdoclet.sf.net/">XDoclet</a>
15 */
16 public final class Xdoclet extends xdoclet.sdk.xgg.XGGPojo {
17 /***
18 * Default constructor. Should not be called explicitly. It's available
19 * only to be able to convert xml into beans with Betwixt.
20 */
21 public Xdoclet() {
22 }
23
24
25 /***
26 * <p>XML element: <a href="Namespace.html"><namespace/></a></p>
27 * This element exists in the following versions:
28 * <ul>
29 * <li>xtags_1_1.dtd</li>
30 * </ul>
31 *
32 * The cardinality is (1..*)
33 *
34 * @param namespace the Namespace to add.
35 * @throws java.lang.IllegalStateException if this method is illegal
36 * with the current version.
37 */
38 public final void addNamespace( final Namespace namespace ) throws java.lang.IllegalStateException {
39 // Check that it's ok to call this method.
40 checkVersion( new String[] { "xtags_1_1.dtd" } );
41 _namespaceCollection.add( namespace );
42 }
43
44 /***
45 * @bean.property
46 * @bean.attribute name="betwixt.index" value="0"
47 * @bean.attribute name="betwixt.name" value="namespace"
48 */
49 public final java.util.Collection getNamespaceCollection() {
50 return _namespaceCollection;
51 }
52
53 private final java.util.Collection _namespaceCollection = new java.util.ArrayList();
54
55 }
This page was automatically generated by Maven